#ifndef _Player_H_
#define _Player_H_

#include <opencv\cv.h>
#include <vector>
#include <unordered_map>

class Player
{
	std::unordered_map<int, std::vector<cv::Point2f>> _flow;
	std::vector<cv::Point2f> _currPoints;
	cv::Point2f _currCentroid;

public:
	Player(void);
	~Player(void);

	bool centroid(cv::Point2f& centroid);

	void setPoints(int frameNum, std::vector<cv::Point2f> pts);
	void addPoints(std::vector<cv::Point2f> pts);
};

#endif
